package com.base.cn.platform.os.common.constants;

/**
 * @ClassName:CacheConstants
 * @Description:系统通用缓存常量类
 * @author hackeridear
 * @date 2018-10-26
 * @version 1.0
 */
public class CacheConstants {

	/**
	 * ===============================系统配置相关==================================
	 */

	/**网络配置缓存的KEY*/
	public static final String ALL_WEBSITE_PROFILE_KEY = "ALL_WEBSITE_PROFILE_KEY";
	/**网站导航缓存的Key*/
	public static final String WEBSITE_NAVIGATES_KEY= "WEBSITE_ALL_NAVIGATES_KEY";
	/**每个配置类型的缓存前缀*/
	public static final String WEBSITE_TYPE_PREFIX= "WEBSITE_TYPE_KEY_";
	/**前台帮助文档的缓存KEY*/
	public static final String WEB_HELP_CONTENT_ALL= "WEB_HELP_CONTENT_ALL";
	/**所有系统类型缓存Key*/
	public static final String SYS_ALL_OS_TYPE = "SYS_ALL_OS_TYPE_KEY";
	/**管控后台域名*/
	public static final String SYS_ADMIN_PATH="SYS_ADMIN_PATH";

	public static final String CONFIG_KEY_PREFIX="CONFIG_KEY_DATA_C_";
    /**前台链接配置*/
    public static final  String WEB_LINK_CONFIG="WEB_LINK_CONFIG";


	/**
	 * =================================系统支付相关=================================
	 */

	/**支付平台缓存KEY*/
	public static final String PAY_PATH="PAY_PATH_URL";

	/**
	 * =================================系统权限相关=================================
	 */

	/*** 系统所有权限 */
	public static final String SYS_USER_ALL_FUNCTION = "SYS_USER_ALL_FUNCTION";
	/***系统当前用户的权限+userid*/
	public static final String SYS_USER_FUNCTION = "SYS_USER_FUNCTION_";
    /**所有的资源URL权限缓存Key*/
    public static final String ALL_FUNCTION_LIST_KEY ="ALL_SYS_FUNCTION_LIST_KE";
    /**登录用户所有功能权限的列表的缓存前缀*/
    public static final String USER_ALL_FUNCTION_LIST_KEY_PREFIX="LOGIN_USER_ALL_FUNCTION_LIST_KEY_";


    /**
     * =================================用户登录信息相关=================================
     */

    /**登录用户的Session的缓存前缀*/
    public static final String LOGIN_USER_SESSION_KEY_PREFIX = "LOGIN_USER_SESSION_KEY_";
	/**登录用户推广员Key后缀*/
    public static final String SHARE_KEY_SUFFIX = "_SHARE_KEY";
	/**
	 * 登录用户连续登录天数
	 */
	public static final String LOGIN_COUNT = "LOGIN_COUNT_";
	/**
	 * 登录用户连续签到天数
	 */
	public static final String SIGN_COUNT = "SIGN_COUNT_";

	/**
	 * 登录用户连续登录天数
	 */
	public static final String LOGIN_START = "LOGIN_START_";

	/**
	 * =================================用户加入班级购买课程流程相关=================================
	 */
	/**用户加入班级购课Session的缓存前缀*/
	public static final String USER_BUY_COURSE_JOIN_CLASS = "USER_BUY_COURSE_JOIN_CLASS_";

	/**
	 * =================================用户专业相关=================================
	 */

	/**用户专业列表*/
	public static final String SYS_USER_SUBJECT_LIST = "SYS_USER_SUBJECT_LIST_";
	/**用户专业最后一级列表*/
	public static final String SYS_USER_SUBJECT_LAST_LIST = "SYS_USER_SUBJECT_LAST_LIST_";
    /**用户登录成功后缓存专业权限的KEY的后缀*/
    public static final String LOGIN_USER_SUBJECT_KEY_SUFFIX="_USER_SUBJECT_DATA";


	/**
	 * =================================短信、消息相关======================================
	 */

	/**缓存后台发布消息的key*/
	public static final String OP_AFFICHE_UPDATE_NUM_KEY ="AFFICHE_UPDATE_NUM_KEY";
	/**缓存用户学员消息的key*/
	public static final String USER_MSG_NUM_TAG ="USER_CART_TAG_";
	/**短信key*/
	public static final String SMS = "SMS";
	/**短信token*/
	public static final String CSY_SMS = "CSY_SMS";
	/**短信token*/
	public static final String AL_SMS = "AL_SMS";


	/**
	 * =================================分销相关======================================
	 */

	/**分销key*/
	public static final String ALL_AGENT_CONFIG_CACHE_KEY = "ALL_AGENT_CONFIG_CACHE_KEY";
/**
 * ========================================权限相关==========================
 */
	/**
	 * 班主任权限关联id
	 */
  public  static  final   String USER_TEACHER_CLASSES_KEY_IDS ="USER_TEACHER_CLASSES_KEY_IDS";

	/**
	 * redis 获取唯一ID
	 */
	public static final String REDIS_NEXT_ID = "REDIS_NEXT_ID";

	public static final String ID = "ID";
	/**
	 * 观看学习记录防止刷课
	 */
	public  static  final  String LAST_LEARNFLOW_TIME ="LAST_LEARNFLOW_TIME_";

	/**
	 * 全局广告
	 */
	public static final String  OVERALL_ADVERT = "OVERALL_ADVERT";


}
